package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemUserDepartment;

public interface ISystemUserDepartmentDao {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract void save(TSystemUserDepartment transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemUserDepartment persistentInstance);
	/**
	 * 根据ID查询
	 * @param transientInstance
	 */
	public abstract TSystemUserDepartment findById(java.lang.Integer id);
	/**
	 * 根据示例查询
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemUserDepartment instance);
	/**
	 * 根据属性查询
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查询所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemUserDepartment merge(
			TSystemUserDepartment detachedInstance);

	public abstract void attachDirty(TSystemUserDepartment instance);

	public abstract void attachClean(TSystemUserDepartment instance);

}